your_weight = float(input("你的体重（kg）：")) # 输入体重
your_hight = float(input("你的身高（m）："))   # 输入身高
your_BMI = your_weight / your_hight ** 2    # 计算BMI
your_BMI_view = "根据你的BMI值" + "(" + str(your_BMI) + ")" + "，你"
if your_BMI < 18.5:
    print(your_BMI_view + "偏瘦。")
elif 18.5 <= your_BMI < 23.9:
    print(your_BMI_view + "正常。")
elif 23.9 <= your_BMI < 27.9:
    print(your_BMI_view + "偏胖。")
else :
    print(your_BMI_view + "重度肥胖。")
